#include "BasicIncludes.h"

struct pixmapData{
	int posX;
	int posY;
	int width;
	int height;
	ILuint imgID;
	GLuint glTex;
	bool changed;
};

int loadPixmap(lua_State* L);
int drawPixmap(lua_State* L);
int drawPixmapPos(lua_State *L);
int setPixelPixmap(lua_State* L);
int getPixelPixmap(lua_State* L);
int deletePixmap(lua_State* L);

void checkChangesPixmap(pixmapData* data);

